<template>
  <div>
    <p>{{str}}</p>
    <button @click="aa">翻转</button>
  </div>
</template>

<script>
export default {
data () {
  return {
    str: '基尼太美'
  }
},
methods : {
  aa () {
    this.str = this.str.split('').reverse().join('')
    console.log(this.str);
  }
}
}
</script>

<style>

</style>